<template>
  <div class="communityMonitor-box">
    <div class="pass-content">
      <p class="pass-name">小区监控查看</p>
      <!--小区监控查看地点分类-->
      <ul class="communityMonitor-type">
        <li v-for="(item) in location" :key="item.id">{{item}}</li>
      </ul>
    </div>
  </div>
</template>

<script>
export default {
  name: 'peoplePass',
  data () {
    return {
      location: ['正门', '西门', '后门', '1号', '2号', '3号', '4号', '5号']
    }
  },
  methods: {}
}
</script>

<style scoped>
  .communityMonitor-box {
    width: 100%;
    margin-bottom: 10px;
  }

  .pass-content {
    background: rgba(43, 54, 72, 0.95);
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    width: 100%;
    padding: 20px;
    box-sizing: border-box;
    position: relative;
  }

  .pass-name {
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 10px;
    float: left;
  }

  .communityMonitor-type {
    width: 100%;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
  }

  .communityMonitor-type li {
    border-radius: 2px;
    width: 20%;
    background: #50E3C2;
    margin: 0 5% 5% 0;
    font-size: 12px;
    line-height: 20px;
    text-align: center;
  }
</style>
